package com.kpmg.datalake.schedule.enums;

/**
 * @author Alex.zhao [alex.zhao@kpmg.com]
 * @since Created on azhao6 on 2018-08-09 21:44:24
 */
public enum YesOrNoEnum {

    /**
     * YES("Y", "是")
     */
    YES("Y", "是", 1),
    /**
     * NO("N", "否")
     */
    NO("N", "否", 0);
    private String code;
    private String display;
    private Integer intCode;

    YesOrNoEnum(String code, String display, Integer intCode) {
        this.code = code;
        this.display = display;
        this.intCode = intCode;
    }

    public String getCode() {
        return code;
    }

    public String getDisplay() {
        return display;
    }

    public Integer getIntCode() {
        return intCode;
    }
}
